import App from './App'

import VConsole from 'vconsole'
new VConsole()

import SiTabBar from './components/SiTabbar'
import SiBody from './components/SiBody'

import window from '@/common/mixins/window.js'

// #ifndef VUE3
import Vue from 'vue'

Vue.config.productionTip = false

Vue.component('SiTabBar', SiTabBar)
Vue.component('SiBody', SiBody)

Vue.mixin(window)

App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif